package com.wcq.studentbackend.service;

import com.wcq.studentbackend.dto.ExamDTO;
import com.wcq.studentbackend.dto.ExamRequestDTO;
import com.wcq.studentbackend.entity.Exam; // 假设实体类名为 Exam
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ExamService extends IService<Exam> {

    List<ExamDTO> getAllExams();

    ExamDTO getExamById(Long id);

    ExamDTO createExam(ExamRequestDTO examRequestDTO);

    ExamDTO updateExam(Long id, ExamRequestDTO examRequestDTO);

    boolean deleteExam(Long id);

    List<ExamDTO> getExamsByStudentStuNo(String stuNo);
} 